package com.travel.sso.service;

import com.travel.common.util.TravelResult;

public interface UserService {
    //注册
    TravelResult doRegist(String email, String password);

    //登录
    TravelResult doLogin(String email, String password);

    //根据票据查询用户
    TravelResult getUserByToken(String token);

    //退出登录
    TravelResult doLogout(String token);

}
